﻿using Furion.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.Application
{
    public class UserEditInput
    {
        [Required]
        public long Id { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        [Required, MaxLength(32)]
        public string UserName { get; set; }

        /// <summary>
        /// 密码（采用 MD5 加密）
        /// </summary>
        [Required, MaxLength(32)]
        public string UserPass { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        [MaxLength(32)]
        public string NickName { get; set; }

        /// <summary>
        /// 头像（OSS地址）
        /// </summary>
        [MaxLength(200)]
        public string ImageUrl { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        [MaxLength(200)]
        public string Remark { get; set; }

        public int OrgId { get; set; }


        /// <summary>
        /// 企业名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 行业类别
        /// </summary>
        public string Industry { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }


        /// <summary>
        /// 职务
        /// </summary>
        public string Post { get; set; }


        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile { get; set; }


        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; }



        /// <summary>
        /// 移动端登录
        /// </summary>
        public bool IsMobile { get; set; } = true;

        /// <summary>
        /// PC端登录
        /// </summary>
        public bool IsPC { get; set; } = true;



        /// <summary>
        /// 角色
        /// </summary>
        public int[] RoleIds { get; set; }


    }


    public class WeiXinUserEditInput
    {
        [Required]
        public long Id { get; set; }
  
        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 头像（OSS地址）
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        public string Remark { get; set; }
         

    }

}
